package top.ruanlitao.shortlink.project.config;

import org.apache.rocketmq.spring.autoconfigure.RocketMQAutoConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * RocketMQ 消息队列配置
 */
@Configuration
@ConditionalOnProperty(prefix = "short-link.message-queue", name = "type", havingValue = "rocketmq", matchIfMissing = true)
@Import(RocketMQAutoConfiguration.class)
public class RocketMQConfiguration {
    // RocketMQ 的配置由 RocketMQAutoConfiguration 提供
} 